package com.nf.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestAction {

    @RequestMapping("/hihihi")
    public String a(String username){
        System.out.println("客户端传递过来的参数:"+username);
        return "hi";
    }


    @RequestMapping("/hihihi2")
    public String b(){
        return "hi2";
    }
}

